package com.siteseat.crudeq.client;

/**
 *
 */
public class PublishResult {

  private long chunkId;

  private int  offset;

  /**
   * @param chunkId
   * @param offset
   */
  public PublishResult( long chunkId, int offset ) {
    this.chunkId = chunkId;
    this.offset = offset;
  }

  /**
   * Gets the chunkId
   * 
   * @return the chunkId
   */
  public long getChunkId() {
    return chunkId;
  }

  /**
   * Gets the offset
   * 
   * @return the offset
   */
  public int getOffset() {
    return offset;
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public String toString() {
    return "PublishResult [chunkId=" + chunkId + ", offset=" + offset + "]";
  }

}
